package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.vo.wxorderlistvoentity.GoodsListEntity;
import com.cskaoyan.bean.vo.wxorderlistvoentity.HandleOptionEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Since 2023/01/02 02:17
 * @Author LA
 * @Description: 微信小程序订单list vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WxOrderListVo {

    /**
     * orderStatusText : 已收货
     * aftersaleStatus : 0
     * isGroupin : false
     * orderSn : 20230102688173
     * actualPrice : 1199.0
     * goodsList : [{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/e5fd0724a05387615738173fb8f1570d.png","price":1199,"id":603,"goodsName":"原素系列实木餐椅（两把）","specifications":["标准"]}]
     * id : 511
     * handleOption : {"cancel":false,"confirm":false,"rebuy":true,"pay":false,"comment":true,"delete":true,"aftersale":true,"refund":false}
     */
    // 订单状态 的中文显示 可以通过order_status去判断
    private String orderStatusText;
    // 售后标志，暂时设置为0吧
    private Short aftersaleStatus;
    // 团购标志，暂时设置为false吧
    private boolean isGroupin;
    // 订单编号
    private String orderSn;
    // 实际价格
    private BigDecimal actualPrice;
    // 商品详情
    private List<GoodsListEntity> goodsList;
    // order 的id
    private Integer id;
    // 订单的 操作状态
    private HandleOptionEntity handleOption;

}
